package com.niit.session7.loop;

public class ReConnection {
	public static void main(String[] args) throws InterruptedException {
		for (int i = 1; i <= 7; i++) {
			System.out.println("自动重连["+i+"/7]尝试...");
//			线程休眠一秒钟
			Thread.sleep(1000);
		}
	}

}
